class User:
    def __init__(self,first_name,last_name, age, email, location, login_attempts=1):
        self.first_name = first_name
        self.last_name = last_name
        self.age = age
        self.email = email
        self.location = location
        self.login_attempts = login_attempts
    
    def describe_user(self):
        print('姓名:', self.first_name.title(),' ',self.last_name.title())
        print('年龄:', self.age)
        print('邮箱:', self.email)
        print('所在地:', self.location)
        
    def greet_user(self):
        full_name = self.first_name.title() + ' ' + self.last_name.title()
        print('欢迎回来: ',full_name)

    def increment_login_attempts(self):
        self.login_attempts += 1

    def reset_login_attempts(self):
        self.login_attempts = 0
